package conson.tech.manage.app.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * ClassName: AppClassVo
 * Description: 应用分类vo
 * Author: HXL
 * Date: 2020/4/24 9:46 上午
 * Version: 1.0
 */
@Data
@ApiModel("AppClassVo")
public class AppClassVo implements Serializable {
    private static final long serialVersionUID = 8646335265507623826L;
    @ApiModelProperty(value = "分组ID 新增不需要传递",example = "分组ID 新增不需要传递")
    private Long id;
    @NotNull(message = "排序不能为空")
    @ApiModelProperty(value = "排序 删除不用传",required =true,example = "排序 删除不用传")
    private Integer sort;
    @NotBlank(message = "标题名称不能为空")
    @ApiModelProperty(value = "标题名称 删除不用传",required =true,example = "标题名称 删除不用传")
    private String name;
    @ApiModelProperty(value = "应用个数 新增修改删除不需要传递",example = "应用个数 新增修改删除不需要传递")
    private Integer appNum;
}
